package com.xhai.service;

import com.xhai.domain.entity.SysPerm;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
public interface SysPermService extends IService<SysPerm> {

    /**
     * 根据角色获取权限
     *
     * @param roleIds
     * @return
     */
    List<SysPerm> selectPermByRoleIds(Set<Long> roleIds);
}
